//
//  ESCategoryBar.h
//  Eyeshot
//
//  Created by admin on 15/7/1.
//  Copyright (c) 2015年 eyeshot. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ESCategoryBar;
@protocol ESCategoryBarDelegate <NSObject>
@optional
- (void)categoryBar:(ESCategoryBar *)categroyBar didSelectFromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex;
@end

@interface ESCategoryBar : UIView
@property (nonatomic, assign)NSInteger currentPage;
@property (nonatomic, weak)id<ESCategoryBarDelegate> delegate;
@end
